package cn.com.oceansoft.business.danger.service;


import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.base.entity.Result;
import cn.com.oceansoft.business.danger.entity.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2018/5/3.
 */
public interface ICollecterInfoService {
     Result loginAuthen(CollecterInfo collecterInfo);

      CollecterInfo getUser(CollecterInfo collecterInfo);

    Pager<CollecterInfo> getList(Query query);

    Pager<CollecterInfo> getList2(Query query);

    List<CollecterInfo> getdict(CollecterInfo collecterInfo);

    List<CollecterInfo> getonedict(CollecterInfo collecterInfo);

    List<CollecterInfo> getjl(CollecterInfo collecterInfo);
    Result updateRole(CollecterInfo collecterInfo);
    Result updatePassword(CollecterInfo collecterInfo);

    List<Qytj> qhtj(int deep, Query query);

    List<TypeTj> typetj(int deep,Query query);

    List<XxTj> xxtj(int deep, Query query);

    List<DangerContent> getChildtype(DangerContent dc);

    void exportXxtj(HttpServletResponse response, List<XxTj> list,int deep);

    void exportQytj(HttpServletResponse response, List<Qytj> list,int deep);

    void exportTypetj(HttpServletResponse response, List<TypeTj> list,int deep);
}
